]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Report correct paint volumes during transitions
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Jan 2011 20:15:05 +0000 (21:15 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Jan 2011 22:24:41 +0000 (23:24 +0100)
commit289d577bc15b6406930adcfd2ab970c0d6330796
tree254dda367fe023cdb4eca6cad1e9734ec1ae12fe
parent00ba93717141ce149e1708594bdb24b12a7653c3
st: Report correct paint volumes during transitions

StWidget reports a paint volume large enough to paint the current
theme node. As CSS transitions also paint the previous theme node,
the reported paint volume may be incorrect, resulting in screen
artifacts when painting outside the reported volume.

Add st_theme_node_transition_get_paint_box() to calculate an allocation
large enough to paint both theme nodes, and use it to report the correct
paint volume during transitions.

https://bugzilla.gnome.org/show_bug.cgi?id=640085
src/st/st-theme-node-transition.c
src/st/st-theme-node-transition.h
src/st/st-widget.c